﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Data
{
    public class DoubleBall
    {
        //public static List<Model.DoubleBall> GetListOrderBy(string OrderBY,string WhereStr,string topStr)
        //{
        //    return new DataAccess().GetListOrderBy<Model.DoubleBall>(OrderBY,WhereStr,topStr);
        //}
        
        public  List<Model.DoubleBall> GetListOrderBy(string OrderBY)
        {
            return new DataAccess().GetListOrderBy<Model.DoubleBall>(OrderBY);
        }
        public long Insert (Model.DoubleBall DBall)
        {
            return new DataAccess().AddNoPK<Model.DoubleBall>(DBall);
           

        }
    }

}
